<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>

<script src='<c:url value="/static/js/jquery.min.js" />'></script>
<script src='<c:url value="/static/js/bootstrap.min.js" />'></script>

<script>
	$(function() {
		$('#q1_menu a').click(function (e) {
			  e.preventDefault();
			  $(this).tab('show');
			});

		if("${param['activeTab']}" != '') {
			var tab = "${param['activeTab']}";
			 console.log('tab = ' + tab);
			$('#q1_menu a.' + tab).tab('show');
		} else {
			$('#q1_menu a:first').tab('show');
		}
	});
</script>